home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / blankery / blanker / source / blankers / life / defaults.c < prev    next >
C/C++ Source or Header  |  1993-07-31  |  579b  |  30 lines

  1. /*
  2.  *    Copyright (c) 1993 Michael D. Bayne.
  3.  *    All rights reserved.
  4.  *
  5.  *    Please see the documentation accompanying the distribution for distribution and disclaimer information.
  6.  */
  7.  
  8. #include <exec/types.h>
  9. #include <exec/ports.h>
  10. #include <intuition/intuition.h>
  11.  
  12. #include "/defs.h"
  13.  
  14. struct lPrefObject {
  15.     LONG Size;
  16.     LONG Generations;
  17.     LONG Density;
  18. };
  19.  
  20. VOID defaults( struct bMessage *Msg )
  21. {
  22.     static struct lPrefObject lPO = { 20L, 150L, 25L };
  23.  
  24.     Msg->bm_Mod = INVALID_ID;
  25.     Msg->bm_Dep = 0;
  26.  
  27.     Msg->bm_Info = "Automaton Life Simulation";
  28.     Msg->bm_Data = ( UBYTE * )( &lPO );
  29. }
  30.